package com.briup.ptp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Classname Slaughter
 * @Description TODO
 * @Date 2024/2/23 16:44
 * @Created by 孙雅如
 * @Version v1.0.0
 */
@TableName(value ="abattoir")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Slaughter implements Serializable {
    /**
     * 屠宰id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 屠宰场名称
     */
    private  String name;
    /**
     * 屠宰日期
     */
    private Date date;
    /**
     * 屠宰生猪种类
     */
    private  String pigSpecies;
    /**
     * 屠宰生猪重量
     */
    private float weight;
    /**
     * 屠宰结果
     */
    private  String result;
    /**
     *屠宰人员信息
     */
    private  String personnel;



}
